package exceptions.semantic;

public class TypeAtributeIncompalibleException extends SemanticException {
	private int linea; 
	private String atributo;
	
	public TypeAtributeIncompalibleException(int l, String atr) {
		linea = l;
		atributo = atr;

	}
	
	public String getMessage(){
		return ("TypeAtributeIncompalibleException: "+atributo+" Error Semantico! Detalle: Tipos incompatibles en atributo de metodo. - Linea: "+linea);
	}
	

}
